package cc.iotkit.plugins.soulcall.intercepter;


/**
 * InboundInterceptor
 *
 * @author cc
 */
//@Component
//@Slf4j
public class HealthInboundInterceptor
//        implements ProxyInterceptor
{

//
//    @Override
//    public Future<ProxyResponse> handleProxyRequest(ProxyContext context)
//    {
//        ProxyRequest proxyRequest = context.request();
//
//        //handle request
//        fitter(proxyRequest);
//        // Continue the interception chain
//        return context.sendRequest();
//    }
//
//    private void fitter(ProxyRequest proxyRequest)
//    {
//        log.info(proxyRequest.getURI().toString());
//        log.info("+++++++++++++++++++++++" + proxyRequest.headers().toString());
//
////        log.info("++++++++++++++++++++++"+proxyRequest.getBody().toString());
//        //do something with proxyRequest
////        proxyRequest.headers().add("token","1.eyJqdGkiOiJkNmZmYzg3MDAzMmM0YWJhYjRlOWE5NDU1OGJkNzdmMyIsInN1YiI6IjEiLCJpc3MiOiJjYyIsImlhdCI6MTY4NDEzMjU0MiwiZXhwIjoxNjg0MTM2MTQyfQ.NcbXUQ7TghSbYx8th63ECCBmWuvGU6V0n_68pW1z4VY");
//    }


}
